//
//  GMUIHelper.h
//  gentleman
//
//  Created by 范月成 on 2017/12/5.
//  Copyright © 2017年 fancy. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "CommonDefines.h"
#import <YYText/YYText.h>
#import "ClassesHeader.h"

@interface GMUIHelper : NSObject

+ (YYLabel *)labelWithFont:(UIFont *)font
                 textColor:(UIColor *)textColor;
+ (YYLabel *)generalTitleLabel;
+ (YYLabel *)generalSubTitleLabel;

+ (UIButton *)buttonWithFont:(UIFont *)font
                  titleColor:(UIColor *)titleColor;

+ (UIAlertController *)alertWithTitle:(NSString *)title
                              message:(NSString *)message;

+ (UIAlertController *)alertWithTitle:(NSString *)title
                              message:(NSString *)message
                               ensure:(void (^)(void))ensure
                               cancel:(void (^)(void))cancel;


@end
